package com.gui.hospital.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Author:刘舒佳
 * Date:2024/8/22
 */
@Configuration
public class MybatisPlus {
    //mybatis-plus配置
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }

}
